﻿using Glorysoft.EAP.Core.Enums;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FluentScheduler;
using Glorysoft.EAP.Core;

namespace Glorysoft.EAP.EAPwell
{
    /// <summary>
    /// 计划调度器
    /// </summary>
    public class MyRegistry : Registry
    {
        public MyRegistry()
        {
            //默认每5分钟执行一次出站
            Schedule<RetryTrackOutLot>().ToRunNow().AndEvery(CItems.TrackOutSleep).Minutes();
        }
    }
}
